<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link href="./resources/css/defaultArek.css" rel="stylesheet" type="text/css" />
        <link href="./resources/css/cssLayoutArek.css" rel="stylesheet" type="text/css" />
        <title>#{bundle.Title}</title>
    </h:head>


    <h:body>
        <div id="allcontent">
            <div id="top">
                <ui:insert name="top">
                   <!-- <h:form>
                        <h:selectOneMenu value="#{localeBean.language}" onchange="submit()">
                            <f:selectItem itemValue="en" itemLabel="English" />
                            <f:selectItem itemValue="pl" itemLabel="Polski" />
                        </h:selectOneMenu>
                    </h:form>
                    <f:view locale="#{localeBean.locale}"/>-->

                   <h:form id="langauge_form">
                  <h:commandLink action="#{languageSwitcher.changeLanguage('pl')}" value="Polski" /> |
                  <h:commandLink action="#{languageSwitcher.changeLanguage('en')}" value="English" />
               </h:form>

                    <f:view locale="#{languageSwitcher.locale}"/>
                </ui:insert>
            </div>
            <div id="mainMenu">
                <ui:insert name="mainMenu">

                </ui:insert>
            </div>

            <div id="navigation">
                <ui:insert name="navigation">Navigation</ui:insert>
            </div>
            <div id="content" class="left_content">
                <ui:insert name="content">Content</ui:insert>
            </div>



            <div class="clear"></div>
            <div id="bottom">
                <ui:insert name="bottom">
                    <p>Haratym&amp;Krawczyk 2011
                        </p>
                </ui:insert>
            </div>
        </div>
    </h:body>

</html>
